<?php

/**
 *
 * @author Zsolt Lengyel
 *
 */
class m130220_230000_gallery extends CDbMigration{

   public function up(){

      $this->addColumn('page', 'gallery_id', 'int(11) DEFAULT NULL');

   }

   public function down(){

      $this->dropColumn('page', 'gallery_id');

   }

}